home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000534_fj@iesd.auc.dk_Wed May 4 21:58:23 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  2KB

  1. Received: from iesd.auc.dk by cs.umb.edu with SMTP id AA00938
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Wed, 4 May 1994 13:59:02 -0400
  3. Received: from loke.iesd.auc.dk (fj@loke.iesd.auc.dk [130.225.48.20]) by iesd.auc.dk (8.6.5/8.6.5) with ESMTP id TAA01167; Wed, 4 May 1994 19:58:59 +0200
  4. From: Frank Jensen <fj@iesd.auc.dk>
  5. Received: from localhost (fj@localhost) by loke.iesd.auc.dk (8.6.5/8.6.5) id TAA17065; Wed, 4 May 1994 19:58:23 +0200
  6. Date: Wed, 4 May 1994 19:58:23 +0200
  7. Message-Id: <199405041758.TAA17065@loke.iesd.auc.dk>
  8. To: tim@maths.tcd.ie
  9. Cc: tex-k@cs.umb.edu
  10. In-Reply-To: <9405041553.aa00829@hamilton.maths.tcd.ie> (message from Timothy Murphy on Wed, 4 May 1994 15:53:11 (BST))
  11. Subject: Re: ls-R
  12.  
  13. > Am I right in thinking that the use of this
  14. > over-rides the directory-list TEXINPUTS, etc?
  15. > That is, if one does "ls -R /usr/local/lib/texmf > ls-R"
  16. > then all the files below this directory
  17. > become eligible as tex input files?
  18.  
  19. It doesn't override your TEXINPUTS (at least not completely).  If the
  20. location of your db file is a prefix of the path being applied, then
  21. everything in the db file will be eligible.
  22.  
  23. For example, if you set your TEXINPUTS as follows:
  24.  
  25. setenv TEXINPUTS .:~/TeX/Inputs:/usr/local/lib/texmf/tex//
  26.  
  27. then if the file is not found in neither the current directory nor
  28. ~/TeX/Inputs, then _any_ file (not just those in the `tex' directory)
  29. in the ls-R listing will be eligible.  (The kpathsea code is prepared
  30. for this situation, but the current `match' function always returns
  31. true.)
  32.  
  33. Also note that the location of the db file is significant, so you
  34. cannot put it in any arbitrary location.
  35.  
  36. > Incidentally, on my machine (Mips) one has to give 
  37. > the full directory name (as above)
  38. > since kpathsea only considers something to be a directory
  39. > if its name begins with "/".
  40. > That is, "ls -R > ls-R" does not construct a valid listing.
  41.  
  42. Yes, this is correct.  It makes the code simpler, and this is
  43. presumably the format that you will get, if you create the listing by
  44. `cron'.
  45.  
  46. /Frank
  47.